﻿@using usedcartrade.ViewModels;
@model LogRegUserViewModel

@{
    Layout = "~/Views/Shared/SiteLayout.cshtml";
}

@section TitleSection{
    注册
}



@section HeaderSection{
}
@section ContentBody{
    <div>
        <form action="/Authentication/DoRegister" method="post">
            <table class="table">

                <tr>
                    <td>
                        <h5>用户名:</h5>
                    </td>
                    <td>
                        <input type="text" id="TxtLName"class="form-control" name="userDetails.UserName" value="@Model.UserName" />
                    </td>
                    <td>
                        &nbsp;
                     </td>
                    <td>
                        &nbsp;
                     </td>
                    <td>
                        &nbsp;
                     </td>
                </tr>

                <tr>
                    <td>
                        <h5>
                            密码:
                        </h5>
                    </td>
                    <td>
                        <input type="password" id="TxtPasswd" class="form-control" name="userDetails.PassWord" value="@Model.PassWord" />
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                        &nbsp;
                    </td>
                </tr>

                <tr>
                    <td>
                        <h5>
                            联系电话:
                        </h5>
                    </td>
                    <td>
                        <input type="text" id="TxtPhone" class="form-control" name="userDetails.Phone" value="@Model.Phone" />
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                        &nbsp;
                     </td>
                    <td>
                        &nbsp;
                     </td>
                </tr>

                <tr>
                    <td>
                        <h5>
                            城市:
                        </h5>
                    </td>
                    <td>
                        <input type="text" id="TxtCity" class="form-control" name="userDetails.City" value="@Model.City"/>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                        &nbsp;
                     </td>
                    <td>
                        &nbsp;
                     </td>
                </tr>
                <tr>
                    <td>
                        <h5>
                            邮箱：
                        </h5>
                    </td>
                    <td>
                        <input type="text" id="TxtEmail" class="form-control" name="userDetails.Email" value="@Model.Email"/>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                        &nbsp;
                     </td>
                    <td>
                        &nbsp;
                     </td>
                </tr>
                <tr>
                    <td colspan="2">
                        <input type="submit"class="btn btn-default" name="BtnSubmit" value="注册"/>
                    </td>
                </tr>
            </table>
        </form>
    </div>
}